//
//  YZInputOrOutputGasolineModel.h
//  ZhuKuang
//
//  Created by mafy on 17/7/12.
//  Copyright © 2017年 jjkj. All rights reserved.
//

#import <Foundation/Foundation.h>

//出入油数据模型
@interface YZInputOrOutputGasolineModel : NSObject


@property (nonatomic, strong) NSArray *list;//油罐

@property (nonatomic, strong) NSArray *listerro;//记录

@property (nonatomic, strong) NSArray *carList;//车辆

- (instancetype)initWithResponse:(id)responseObject;

@end

//出入油数据模型下的 list 油罐数据模型
@interface YZListModel : NSObject

@property (nonatomic, strong) NSString *iolnum;//油管号
@property (nonatomic, strong) NSString *iolbefor;//（出、入）油前油量
@property (nonatomic, strong) NSString *iolafter;//（出、入）油后量
@property (nonatomic, strong) NSString *total;//（出、入）累计总量
@property (nonatomic, strong) NSString *ioltotal;//油罐总量

@end

//出入油数据模型下的 listerro 记录数据模型
@interface YZListErrorModel : NSObject

//出油数据 有些部分是通用的
@property (nonatomic, strong) NSString *people;//负责人
@property (nonatomic, strong) NSString *errorUnit;//发油单位
@property (nonatomic, strong) NSString *driver;//司机
@property (nonatomic, strong) NSString *unit;//收油单位
@property (nonatomic, strong) NSString *iolafter;//（出、入）油后量
@property (nonatomic, strong) NSString *time;//出入油时间
@property (nonatomic, strong) NSString *car;//车号
@property (nonatomic, strong) NSString *iolType;//油品类型
@property (nonatomic, strong) NSString *iolbefor;//（出、入）油前油量
@property (nonatomic, strong) NSString *iol;//（出、入）油量
@property (nonatomic, strong) NSString *point;//坐标
@property (nonatomic, strong) NSString *isException;//是否有报警
@property (nonatomic, strong) NSString *errortime;//报警时间
@property (nonatomic, strong) NSString *iolerror;//（出、入）油异常量(如果返回空代表正常)
@property (nonatomic, strong) NSArray *singleList;//

//加油数据 有些部分是通用的
//@property (nonatomic, copy) NSString *driver;//司机
//@property (nonatomic, copy) NSString *unit;//部门
@property (nonatomic, copy) NSString *outcar;//出油车辆
//@property (nonatomic, copy) NSString *time;//出油时间
//@property (nonatomic, copy) NSString *point;//坐标
//@property (nonatomic, copy) NSString *iol;//出油量
//@property (nonatomic, copy) NSString *people;//负责人
@property (nonatomic, copy) NSString *type;//油品类型
@property (nonatomic, copy) NSString *carid;//车辆id

@end

// listerro 数据模型下的 singleList 数据模型
@interface YZSingleListModel : NSObject

@property (nonatomic, strong) NSString *iolnum;//油罐编号
@property (nonatomic, strong) NSString *iolbefor;//（出、入）油前油量
@property (nonatomic, strong) NSString *isException;//是否有报警
@property (nonatomic, strong) NSString *iolerror;//（出、入）油异常量
@property (nonatomic, strong) NSString *time;//出入油时间
@property (nonatomic, strong) NSString *iol;//（出、入）油量
@property (nonatomic, strong) NSString *iolafter;//（出、入）油后量

@end


